var Dto = AjaxStack.Dto;

YAHOO.namespace("ajaxstack");
YAHOO.ajaxstack.DtoTests = new YAHOO.tool.TestCase({

	name: "Dto Tests",

	//--------------------------------------------- 
	// Setup and tear down 
	//---------------------------------------------

	setUp: function()
	{
	},

	tearDown: function()
	{
	},

	//--------------------------------------------- 
	// Tests 
	//---------------------------------------------

	testToHttpUtcDate: function()
	{
		var utcUkOffset = 1;
		var date = new Date(1979, 4, 9, 0 + utcUkOffset, 0, 0);

		Assert.areEqual('1979-05-09T00:00:00Z', Dto.toUtcDate(date));
	}

});

